/*
 * Cuadrado.h
 *
 *  Created on: 01/10/2013
 *      Author: ezequiel
 */

#ifndef CUADRADO_H_
#define CUADRADO_H_
#include <vector>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/transform2.hpp>
#include <glm/gtx/projection.hpp>
#include <iostream>
#include <fstream>
#include "../Camara.h"
#include "../Dibujable.h"

class Cuadrado : public Dibujable{
public:
	Cuadrado();
	virtual ~Cuadrado();
	 void render(GLuint handle, glm::mat4* matModelo);
	 void render(GLuint handle) ;
	 void activarTexture();
private:
	 void crearForma();
	    GLfloat* cube_vertex_buffer;
	    GLfloat* cube_normal_buffer;
	    GLuint* cube_index_buffer;
	    GLfloat* cube_texture_buffer;
	    unsigned int cube_vertex_buffer_size;
	    unsigned int cube_normal_buffer_size;
	    unsigned int cube_index_buffer_size;

};

#endif /* CUADRADO_H_ */
